package com.ruoyi.eims.purchase.service;

import com.ruoyi.eims.purchase.domain.PurchaseOrderDetails;

import java.util.List;

/**
 * 采购订单明细Service接口
 * 
 * @author hp
 * @date 2023-02-04
 */
public interface IPurchaseOrderDetailsService 
{
    /**
     * 查询采购订单明细
     * 
     * @param id 采购订单明细主键
     * @return 采购订单明细
     */
    public PurchaseOrderDetails selectPurchaseOrderDetailsById(Long id);

    /**
     * 查询采购订单明细列表
     * 
     * @param purchaseOrderDetails 采购订单明细
     * @return 采购订单明细集合
     */
    public List<PurchaseOrderDetails> selectPurchaseOrderDetailsList(PurchaseOrderDetails purchaseOrderDetails);

    /**
     * 新增采购订单明细
     * 
     * @param purchaseOrderDetails 采购订单明细
     * @return 结果
     */
    public int insertPurchaseOrderDetails(PurchaseOrderDetails purchaseOrderDetails);

    /**
     * 修改采购订单明细
     * 
     * @param purchaseOrderDetails 采购订单明细
     * @return 结果
     */
    public int updatePurchaseOrderDetails(PurchaseOrderDetails purchaseOrderDetails);

    /**
     * 批量删除采购订单明细
     * 
     * @param ids 需要删除的采购订单明细主键集合
     * @return 结果
     */
    public int deletePurchaseOrderDetailsByIds(Long[] ids);

    /**
     * 删除采购订单明细信息
     * 
     * @param id 采购订单明细主键
     * @return 结果
     */
    public int deletePurchaseOrderDetailsById(Long id);
}
